import {Injectable} from '@angular/core';
import {HttpClient} from '@angular/common/http';

@Injectable()
export class AppService {
  public navUrl = 'assets/nav.json';

  constructor(private http: HttpClient) {
  }

  public getNav() {
    return this.http.get(this.navUrl);
  }
}
